<?php session_start();
define('_VALID_NVB','1');
include("initcms.php");
$page=$_REQUEST['page'];
if($CONFIG['active_site']==1){
	if ($page == '' || $page == null) $page='home';
	$page="modules/$page.php";
	if (file_exists($page)) {
	
			include("modules/header.php");	
			include($page);
			include("modules/footer.php");
	
	}else{
		referbox($site_address."index.php?","Page not pound, redirec to home page");
	}
	include("endcms.php");
} else {
	include("source/error.php");
}
?>